package com.jcompressor.http;

import java.io.BufferedInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.SequenceInputStream;
import java.util.Enumeration;

public class SequenceInputStreamWrapper extends BufferedInputStream {
	
	public SequenceInputStreamWrapper(final Enumeration<InputStream> streams) {
		super(new SequenceInputStream(streams));
		super.mark(Integer.MAX_VALUE);
	}
	
	@Override
	public void close() throws IOException {
		super.reset();
	}
	
}
